class FakeLogger(object):    
    def request(self, str):
        pass
    
    def response(self, str):
        pass


def ScreenLogger(FakeLogger):    
    def request(self, str):
        print ' --> %s' % str
        
    def response(self, str):
        print ' <-- %s' % str

